#pragma once
#ifndef __SW_TOOLWINDOW_BASE_H__
#define __SW_TOOLWINDOW_BASE_H__

/** Layer window base 
* 
* @author welbon
*
* @date 2010-05-03 
*/
class CSWLayerwndBase : public CWnd
{
public:
	CSWLayerwndBase();
	virtual ~CSWLayerwndBase();


protected:
	DECLARE_MESSAGE_MAP()
	afx_msg void OnSize(UINT nFlags,int cx,int cy);
	afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPaint();


	void DrawToolBackground( CDC &memdc,const CRect &RcF );

protected:
	//CWnd *m_pSubWnd;

	CImage *m_lpImageBkg;
};

#endif //__SW_TOOLWINDOW_BASE_H__